package com.rogan.rpc.message;

import java.util.Map;

public class Response {
private Status status;
private Map<String, String> headers;
private Class<?> returnType;
private Object returnValue;
public Status getStatus() {
	return status;
}

public void setStatus(Status status) {
	this.status = status;
}

public Map<String, String> getHeaders() {
	return headers;
}

public void setHeaders(Map<String, String> headers) {
	this.headers = headers;
}

public Class<?> getReturnType() {
	return returnType;
}

public void setReturnType(Class<?> returnType) {
	this.returnType = returnType;
}

public Object getReturnValue() {
	return returnValue;
}

public void setReturnValue(Object returnValue) {
	this.returnValue = returnValue;
}

public Exception getException() {
	return exception;
}

public void setException(Exception exception) {
	this.exception = exception;
}

private Exception exception;

public String getHeader(String name) {
	return name;
	
}

public void addHeader(String name, String value) {
	
}
}
